package resp

import "gateway/websocket/types"

type Resp struct {
	Message string `json:"message"`
}

func RespMessages(data *types.ServiceMessage) *types.ServiceMessage {
	data.Type = types.SysSucc
	data.Data = Resp{
		Message: "成功",
	}
	return data
}
